package com.richest.api.utils;

public class Constant {

	/*
	 * redis 短信验证码
	 */
	public final static String SMS_CODE_KEY = "code";
	public final static String SMS_OVERTIME_KEY = "over";
	public final static String RESET_PASS_SMS_CODE_KEY = "resetPassCode";
	public final static String RESET_PASS_SMS_OVERTIME_KEY = "resetPassCode";

	public static final String USER_SOURCE_APP = "01";// 用户注册来源01点餐APP 02店铺APP 03后台
	public static final int USER_METHOD_PHONE = 1;// 注册方式1手机号 2微信号
	public static final int USER_METHOD_WEIXIN = 1;// 注册方式1手机号 2微信号

	public static final int TOKEN_EXPIRE = 7200;// token失效时间，7200秒
	public static final int CODE_EXPIRE = 60 * 5; // 验证码有效期

}
